import { createApp } from 'vue'
import pinia from '@/stores'

import App from './App.vue'
import router from './router'

import 'vant/lib/index.css'
import '@/styles/main.scss'

import 'virtual:svg-icons-register'

import { Lazyload } from 'vant'

const app = createApp(App)

app.use(pinia)
app.use(router)

// 加载延迟加载组件
app.use(Lazyload, {
  lazyComponent: true
})

app.mount('#app')
